package com.qf.cx.simplenms.link.rai.model;

import java.util.ArrayList;
import java.util.List;
import com.sun.jna.Structure;

public class ReadOpInfo extends Structure {
	
	public byte opId;
	public byte mb;
	public byte offset;
	public byte len;	
	
	public static class ByValue  extends ReadOpInfo implements Structure.ByValue  { }		
	public static class ByReference extends ReadOpInfo implements Structure.ByReference { }
	
    @Override  
    protected List<String> getFieldOrder() {  
        List<String> a = new ArrayList<String>();  
        a.add("opId");   
        a.add("mb");  
        a.add("offset");
        a.add("len");   
        return a;  
    }

	@Override
	public String toString() {
		return "ReadOpInfo [opId=" + opId + ", mb=" + mb + ", offset=" + offset + ", len=" + len + "]";
	}  
    
    
}
